package org.jeecg.modules.demo.st.service.impl;

import org.jeecg.modules.demo.st.entity.StClass;
import org.jeecg.modules.demo.st.mapper.StClassMapper;
import org.jeecg.modules.demo.st.mapper.StProfessionMapper;
import org.jeecg.modules.demo.st.service.IStClassService;
import org.jeecg.modules.demo.st.vo.ClassListVo;
import org.jeecg.modules.demo.st.vo.DepartListVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 班级
 * @Author: jeecg-boot
 * @Date:   2019-10-26
 * @Version: V1.0
 */
@Service
public class StClassServiceImpl extends ServiceImpl<StClassMapper, StClass> implements IStClassService {
    @Autowired
    private StClassMapper stClassMapper;
    @Override
    public List<ClassListVo> getListByProfession(String profession){
      List<ClassListVo> datas = stClassMapper.getLists(profession);
      return datas;
  }
}
